/**
 * Created by wanglong on 2017/4/15.
 */

/**
 * 点击图片显示大图
 */
$(document).on('click','.js-show-box li',function () {
    var t = $(this),
        img_src = t.find('img').attr('src'),
        modal = $('.modal-box'),
        pic_box = modal.find('img');

    pic_box.attr('src',img_src);
    modal.show();
});

/**
 * 关闭图片放大
 */
$(document).on('click','.js-close-pic',function () {
    var modal = $('.modal-box');
    modal.hide();
});
